package com.qys.livesMall.shop.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Map;
@Mapper
public interface ShopStatisticsMapper {
    Map<String, BigDecimal> queryDayMoney(@Param("shopId") String shopId);
    Map<String,Object> queryWeek(@Param("shopId") String shopId);
    Map<String,Object> queryMonth(@Param("shopId") String shopId);
    Map<String,Object> sumOrder(@Param("shopId") String shopId);
    Map<String,Object> queryRepeat(@Param("shopId") String shopId);
    Map<String,Object> queryPurchaseWeek(@Param("shopId") String shopId);
    Map<String,Object> queryPurchaseMonth(@Param("shopId") String shopId);
    Map<String,Object> averagePurchaseQuantity(@Param("shopId") String shopId);
    Map<String,Object> purchaseCategories(@Param("shopId") String shopId);
    Long todayNew(@Param("shopId") String shopId);
    Long yesterdayNew(@Param("shopId") String shopId);
    Long todayTotal(@Param("shopId") String shopId);
    Long yesterdayTotal(@Param("shopId") String shopId);
}
